package top.yamhk.agent.entity.request;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Request {
    private String requestUrl;
    private String requestMethod = "GET";
    private String requestBody;

    public static class Builder {
        Request request = new Request();

        public Builder url(String url) {
            request.setRequestUrl(url);
            return this;
        }

        public Request build() {
            return request;
        }
    }
}
